Skip to content

ci(dependabot): group updates and skip auto-merge for majors - #348

Merged
bentsku merged 3 commits into
mainfrom
ci/dependabot-groups
Nov 10, 2026
Merged

bentsku merged 3 commits into
mainfrom
ci/dependabot-groups

Conversation

@bentsku

@bentsku bentsku commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Dependabot opens one PR per package, and the auto-merge workflow squash-merges each one, so most commits on main are dependency bumps (24 of 32 over a recent 90-day window). The same packages recur every week, and jest arrives twice because it's in both package.json files.

Changes

  • Root npm: minor/patch dev-dependency updates are grouped into one PR. uuid, the only runtime dependency, stays ungrouped because it reaches consumers through the git-tag pin.
  • /cdk npm: all minor/patch updates are grouped into one PR. Nothing here reaches consumers.
  • GitHub Actions: minor/patch updates are grouped into one PR.
  • Majors are kept out of every group, and the auto-merge workflow now skips version-update:semver-major, so major bumps wait for manual review.
  • Review: adds .github/CODEOWNERS (* @bentsku), so review is requested on every PR, and sets assignees: [bentsku] on all Dependabot entries. The main ruleset requires 0 approvals and no code-owner review, so auto-merge is unaffected.

A typical week should drop from 4–6 Dependabot PRs to about 2.

Testing

Both files parse as valid YAML. Dependabot only reads its config from the default branch, so the grouping can't be checked until this merges. The first scheduled run after merging will show it.

🤖 Generated with Claude Code

bentsku and others added 3 commits November 10, 2026 19:05
Group minor/patch dev-dependency updates in the root package, all
minor/patch updates in /cdk, and all GitHub Actions updates, so a typical
week produces ~2 PRs instead of 4-6. The runtime dependency (uuid) stays
ungrouped because it reaches consumers via the git-tag pin, and major
bumps stay as individual PRs.

The auto-merge workflow now skips semver-major updates so they get a
manual review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without this, one action major blocks auto-merge for the whole group PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Request review from @bentsku on every PR and assign Dependabot PRs.
The main ruleset requires no approvals, so auto-merge is unaffected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bentsku
bentsku marked this pull request as ready for review November 10, 2026 18:56
@bentsku
bentsku merged commit 15296f4 into main Nov 10, 2026
5 checks passed
@bentsku
bentsku deleted the ci/dependabot-groups branch November 10, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant